import { Module } from '@nestjs/common';
import { RequestParameterInterceptor } from './request-parameter.interceptor';
import { MethodCallInterceptor } from './method-call.interceptor';

/**
 * 拦截器模块
 * 基于 NestJS 实现 Java 风格的 AOP 切面
 * 对应 Java: Aspect 配置
 */
@Module({
  providers: [RequestParameterInterceptor, MethodCallInterceptor],
  exports: [RequestParameterInterceptor, MethodCallInterceptor],
})
export class InterceptorsModule {}
